/* =========================
Background:#e0cecf
Gold:#d3b037
Pink:#a59290
Text Dark:#9b8583
Darker Text:#856b68
 */

html {
    scroll-behavior: smooth;
}

a{color:#31593e;}
a:hover{color:#7d9d8a;}
a:visited{color:#31593e;}

body {
    font-family: "Cormorant Garamond", serif;
    background-color: #e0cecf;
    color: #856b68;
    margin: 0;
    padding: 0;

    font-size: 16px;
    min-font-size: 12px;
    max-font-size: 20px;
}

.script {
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
}

/* Decorative Font Styles */
.name{
    font-size:24pt;
}
.subname{
    font-size: 18pt;
}

/* Headings */
h1, h2, h3 {
    font-family: "Cormorant Garamond", serif;
    line-height: 105%;
}

p {
    font-family: "Cormorant Garamond", serif;
    color: #9b8583;
    font-size: 14pt;
}

/* @Font Face Text etc */
.cormorant-garamond-<uniquifier> {
                         font-family: "Cormorant Garamond", serif;
                         font-optical-sizing: auto;
                         font-weight: <weight>;
                         font-style: normal;
                     }
.pinyon-script-regular {
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
}

/* Page Colors */
.light-pink{color:#e0cecf;background-color:#e0cecf;}
.gold{color:#d7ad38;}
.pink{color:#a59290;}
.dark-pink{color:#9c8684;}

/* Header */
header {
    text-align: center;
    padding: 70px 0;
    /*background: linear-gradient(135deg, #f8e1e7, #fffaf8);*/
}

.page-title {
    font-size: 36px;
    letter-spacing: 2px;
}

.gold-gradient{
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
    radial-gradient(ellipse farthest-corner at left top, #FFFFAC 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    padding: 10px;
    border-radius: 3px;
}

.flower-border {
    max-width:600px;
    margin:auto;
    display:inline-block;

    box-shadow: 0px 0px 2px #9c8684;
    /* border: 1px solid #9c8684; */
    border-image: url('res/wedding flowers border.png');
    border-image-slice: 0% fill;
    border-image-repeat: round;
    border-image-outset: 70px;
}

/* Menu / Dashboard */
.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

/* Container */
.container {
    max-width: 800px;
    margin: auto;
}

/* Buttons */
button, .primary-btn {
    background-color: #b76e79;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    font-size: 14pt;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

button:hover, .primary-btn:hover {
    background-color: #9c5a63;
    transform: scale(1.05);
}

/* Inputs */
input, select {
    padding: 10px;
    border: 1px solid #e7c6d1;
    border-radius: 8px;
    width: 250px;
    font-family: inherit;
}

input:focus, select:focus {
    outline: none;
    border-color: #b76e79;
    box-shadow: 0 0 5px rgba(183, 110, 121, 0.4);
}

/* Forms */
form {
    background: #ffffff;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0px 0px 2px #9c8684;
    max-width:600px;
    margin:auto;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

th {
    background-color: #f3d6dc;
    color: #4a3b3b;
    padding: 12px;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid #f1e3e7;
}

tr:hover {
    background-color: #fff1f4;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fffaf8;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Close button */
.close, .close-seat {
    float: right;
    font-size: 22pt;
    cursor: pointer;
    color: #b76e79;
}

.close:hover {
    color: #9c5a63;
}


.text-center{
    text-align: center;
}
/* Subtle decorative feel */
hr {
    border: none;
    height: 1px;
    background: #f3d6dc;
    margin: 20px 0;
}

navigation{
    margin: auto;
    text-align: center;
}
navigation a{
    padding:5px;
}
.form-card{
    padding:20px;
}
/* Footer */
footer {
    border-top: 1px solid #cbb4b6;
    background-image: linear-gradient(to bottom, #ffffff, #e0cecf);
    text-align: center;
}
.footer-decor{
    margin:auto;
    width: 150px;
    height: 150px;
    background-image: url('res/monogram.png');
    background-blend-mode: overlay;
    background-size: contain;
}

#itinerary {
    margin:auto 100px;
    text-align: center;
}
/* Navigation */
/* Envelope Style */
.envelope {
    position: relative;
    margin: 40px auto 0px;
    width: 196px;
    height: 132px;
    background: #a77878;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 0 1px #c94548 inset;
}
.envelope:before,
.envelope:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-width: 66px 98px;
}
.envelope:before {
    border-bottom-color: #b18690;
    top: -100%;
    left: 0px;
}
.envelope:after {
    border-right-color: #b18690;
    border-left-color: #b18690;
    border-bottom-color:#bf8c99;
    top: 0;
    border-radius: 0 0 3px 3px;
    transform: rotate(360deg);
    box-shadow: 0 1px 1px rgba(0,0,0,0.35);
}

.paper {
    background: #fff;
    width: 184px;
    height: 132px;
    margin: 0 auto;
    border-radius: 2px;
    position: absolute;
    left: 6px;
    top: -33px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.35);
    text-align: center;
    transition: 1s;
    font-size: 22pt;
    padding-top:5px;

}

.paper:hover{
    top:-66px;

}
.paper a{
    text-decoration: none;
}

.paper:before {
    top:  28px;
    width: 62px;
}
.paper:after {
    right: 24px;
    top: 56px;
}

/* Google Map Settings */
.gmaps{
    max-width:1000px;
    width: 100%;
    aspect-ratio: 16 / 9; /* Automatically adjusts height dynamically */
    border: 0;
}

@media only screen and (max-width: 600px) {
    body{
        font-size: 125%;
    }

    h1,h2,h3 {
    }

    p{
        font-size: 14pt;
    }

    .name{
        font-size:20pt;
    }
    .subname{
        font-size: 14pt;
    }

    .flower-border {
        margin:0 20px;
        display: block;
        border-image-repeat: stretch;
    }
    #itinerary{
        margin:auto 25px;
    }
}